package com.cs.contract.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * @Author：zrx
 * @Package：com.cs.cscontract.domain
 * @Project：Ruoyi
 * @name：CsPubAttachments
 * @Date：2024/11/18 19:49
 * @Filename：CsPubAttachments
 */
public class CsPubAttachments extends BaseEntity {
    private static final long serialVersionUID = 5993243591540728027L;
    @Excel(name = "附件ID")
    private Integer anId;
    @Excel(name = "采购计划id")
    private String aCode;
    @Excel(name = "框架计划id")
    private Integer planCode;
    @Excel(name = "合同ID")
    private Integer eid;
    @Excel(name = "附件名称")
    private String anName;
    @Excel(name = "业务类型")
    private Integer anType;
    @Excel(name = "业务单据号")
    private String anDan;
    @Excel(name = "URL")
    private String anUrl;
    @Excel(name = "文件大小")
    private Long anSize;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date anUploadTime;

    public Integer getAnId() {
        return anId;
    }

    public void setAnId(Integer anId) {
        this.anId = anId;
    }

    public String getaCode() {
        return aCode;
    }

    public void setaCode(String aCode) {
        this.aCode = aCode;
    }

    public Integer getPlanCode() {
        return planCode;
    }

    public void setPlanCode(Integer planCode) {
        this.planCode = planCode;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getAnName() {
        return anName;
    }

    public void setAnName(String anName) {
        this.anName = anName;
    }

    public Integer getAnType() {
        return anType;
    }

    public void setAnType(Integer anType) {
        this.anType = anType;
    }

    public String getAnDan() {
        return anDan;
    }

    public void setAnDan(String anDan) {
        this.anDan = anDan;
    }

    public String getAnUrl() {
        return anUrl;
    }

    public void setAnUrl(String anUrl) {
        this.anUrl = anUrl;
    }

    public Long getAnSize() {
        return anSize;
    }

    public void setAnSize(Long anSize) {
        this.anSize = anSize;
    }

    public Date getAnUploadTime() {
        return anUploadTime;
    }

    public void setAnUploadTime(Date anUploadTime) {
        this.anUploadTime = anUploadTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("anId", anId)
                .append("aCode", aCode)
                .append("planCode", planCode)
                .append("eid", eid)
                .append("anName", anName)
                .append("anType", anType)
                .append("anDan", anDan)
                .append("anUrl", anUrl)
                .append("anSize", anSize)
                .append("anUploadTime", anUploadTime)
                .toString();
    }
}
